package com.jiangjiang.eshop.wms.convert;

import com.jiangjiang.eshop.wms.domain.PurchaseInputOrderPutOnItem;
import com.jiangjiang.eshop.wms.dto.PurchaseInputOrderPutOnItemDTO;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName PurchaseInputOrderPutOnItemConvert
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/13 22:43
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface PurchaseInputOrderPutOnItemConvert {

    List<PurchaseInputOrderPutOnItemDTO> convertEntities2DTOList(List<PurchaseInputOrderPutOnItem> putOnItems);

    List<PurchaseInputOrderPutOnItem> convertDTOList2Entities(List<PurchaseInputOrderPutOnItemDTO> dtoList);
}
